package com.cincc.cincc_pbx.constant;

import android.Manifest;

import com.cincc.cincc_pbx.model.LoginModel;

public class CallConstant {

    //请求验证码接口
    public static String REQUEST_VERIFY_CODE_URL = "https://192.168.2.191:5049/cp-pbx/cp-system/verify/code/vc.jpg?_d=";
    //登录接口
    public static String REQUEST_LOGIN_URL = "https://192.168.2.191:5049/cp-pbx/cp-system/process?loginType=3";
    //获取内部联系人
    public static String REQUEST_INTERNAL_CONTACT_URL = "http://192.168.2.191:15672/cp-system/sys/org/addr/book";
    //获取用户信息 以及分机信息
    public static String REQUEST_MY_INFO_URL = "https://192.168.2.191:5049/cp-pbx/cp-system/sys/user/query";
    //获取外部联系人
    public static String REQUEST_EXTERNAL_CONTACT_URL = "https://192.168.2.191:5049/cp-pbx/om/externalContacts/pageList";
    //获取单个分机信息
    public static String REQUEST_GET_EXTENSION_URL = "https://192.168.2.191:5049/cp-pbx/om/cincc-serv/extension/find";
    //获取通话记录
    public static String REQUEST_GET_RECORD_URL = "https://192.168.2.191:5049/cp-pbx/om/cincc-serv/smp/listMerAcrRecord";

    public static String AES_PASSWORD_KEY = "cgcintel123CINCC234cintel1234!@#";

    //注册的sip ip
//    public static String SIP_IP = "47.94.156.96";
    //注册的sip port
//    public static String SIP_PORT = "5049";
    //注册的sip ip
    public static String SIP_IP = "192.168.2.191";
    //注册的sip port
    public static String SIP_PORT = "5049";
    //默认集团号
    public static String GROUP_ID = "000002";

    public static String[] AUDIO_PERMISSION_LIST = new String[]{Manifest.permission.RECORD_AUDIO,
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE};

    public static LoginModel loginModel = new LoginModel();

    //刷新通话记录列表事件
    public static String REFRESH_RECORD_EVENT = "refreshRecord";
    //收到语音电话邀请事件
    public static String INVITE_CALL = "invite_call";
    //外呼事件
    public static String MAKE_CALL = "make_call";
    //重新注册
    public static String RE_REGISTER = "re_register";

}
